home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / adru1.dfm / adru1.txt
Encoding:
Text File  |  1998-02-09  |  16.0 KB  |  768 lines

  1. object Form1: TForm1
  2.   Left = 190
  3.   Top = 112
  4.   Width = 548
  5.   Height = 450
  6.   Caption = 'Customer Contact Info Browser'
  7.   Font.Charset = DEFAULT_CHARSET
  8.   Font.Color = clWindowText
  9.   Font.Height = -11
  10.   Font.Name = 'Default'
  11.   Font.Style = []
  12.   OnClose = FormClose
  13.   OnCreate = FormCreate
  14.   PixelsPerInch = 96
  15.   TextHeight = 13
  16.   object TabControl1: TTabControl
  17.     Left = 0
  18.     Top = 0
  19.     Width = 540
  20.     Height = 423
  21.     Align = alClient
  22.     TabIndex = 0
  23.     TabOrder = 0
  24.     Tabs.Strings = (
  25.       'A'
  26.       'B'
  27.       'C'
  28.       'D'
  29.       'E'
  30.       'F'
  31.       'G'
  32.       'H'
  33.       'I'
  34.       'J'
  35.       'K'
  36.       'L'
  37.       'M'
  38.       'N'
  39.       'O'
  40.       'P'
  41.       'Q'
  42.       'R'
  43.       'S'
  44.       'T'
  45.       'U'
  46.       'V'
  47.       'W'
  48.       'X'
  49.       'Y'
  50.       'Z')
  51.     OnChange = TabControl1Change
  52.     object Label1: TLabel
  53.       Left = 16
  54.       Top = 66
  55.       Width = 50
  56.       Height = 13
  57.       Caption = 'Address &1:'
  58.       FocusControl = dbeAddr1
  59.     end
  60.     object Label2: TLabel
  61.       Left = 16
  62.       Top = 106
  63.       Width = 50
  64.       Height = 13
  65.       Caption = 'Address &2:'
  66.       FocusControl = dbeAddr2
  67.     end
  68.     object Label3: TLabel
  69.       Left = 16
  70.       Top = 26
  71.       Width = 71
  72.       Height = 13
  73.       Caption = 'Contact &Name:'
  74.       FocusControl = dbeContactName
  75.     end
  76.     object Label4: TLabel
  77.       Left = 16
  78.       Top = 146
  79.       Width = 20
  80.       Height = 13
  81.       Caption = 'C&ity:'
  82.       FocusControl = dbeCity
  83.     end
  84.     object Label5: TLabel
  85.       Left = 144
  86.       Top = 146
  87.       Width = 28
  88.       Height = 13
  89.       Caption = '&State:'
  90.       FocusControl = dbeState
  91.     end
  92.     object Label6: TLabel
  93.       Left = 204
  94.       Top = 146
  95.       Width = 46
  96.       Height = 13
  97.       Caption = '&Zip Code:'
  98.       FocusControl = dbeZip
  99.     end
  100.     object Label7: TLabel
  101.       Left = 144
  102.       Top = 26
  103.       Width = 47
  104.       Height = 13
  105.       Caption = '&Company:'
  106.       FocusControl = dbeCompany
  107.     end
  108.     object Label8: TLabel
  109.       Left = 300
  110.       Top = 146
  111.       Width = 39
  112.       Height = 13
  113.       Caption = 'Co&untry:'
  114.       FocusControl = dbeCountry
  115.     end
  116.     object Label9: TLabel
  117.       Left = 288
  118.       Top = 26
  119.       Width = 87
  120.       Height = 13
  121.       Caption = 'Customer &Number:'
  122.       FocusControl = dbeCustomerNumber
  123.     end
  124.     object Label11: TLabel
  125.       Left = 400
  126.       Top = 26
  127.       Width = 34
  128.       Height = 13
  129.       Caption = '&Phone:'
  130.       FocusControl = dbePhone
  131.     end
  132.     object Label12: TLabel
  133.       Left = 400
  134.       Top = 66
  135.       Width = 20
  136.       Height = 13
  137.       Caption = 'Fa&x:'
  138.       FocusControl = dbeFax
  139.     end
  140.     object Label10: TLabel
  141.       Left = 400
  142.       Top = 106
  143.       Width = 87
  144.       Height = 13
  145.       Caption = 'Last &Invoice Date:'
  146.       FocusControl = dbeLastInvDate
  147.     end
  148.     object Label13: TLabel
  149.       Left = 400
  150.       Top = 146
  151.       Width = 47
  152.       Height = 13
  153.       Caption = 'Tax &Rate:'
  154.       FocusControl = dbeTaxRate
  155.     end
  156.     object CancelCust: TSpeedButton
  157.       Left = 324
  158.       Top = 388
  159.       Width = 47
  160.       Height = 25
  161.       Caption = 'Cancel'
  162.       Enabled = False
  163.       OnClick = CancelCustClick
  164.     end
  165.     object PostCust: TSpeedButton
  166.       Left = 277
  167.       Top = 388
  168.       Width = 47
  169.       Height = 25
  170.       Caption = 'Post'
  171.       Enabled = False
  172.       OnClick = PostCustClick
  173.     end
  174.     object EditCust: TSpeedButton
  175.       Left = 230
  176.       Top = 388
  177.       Width = 47
  178.       Height = 25
  179.       Caption = 'Edit'
  180.       OnClick = EditCustClick
  181.     end
  182.     object LastCust: TSpeedButton
  183.       Left = 172
  184.       Top = 388
  185.       Width = 47
  186.       Height = 25
  187.       Caption = 'Last >>'
  188.       OnClick = LastCustClick
  189.     end
  190.     object NextCust: TSpeedButton
  191.       Left = 125
  192.       Top = 388
  193.       Width = 47
  194.       Height = 25
  195.       Caption = 'Next >'
  196.       OnClick = NextCustClick
  197.     end
  198.     object PriorCust: TSpeedButton
  199.       Left = 77
  200.       Top = 388
  201.       Width = 47
  202.       Height = 25
  203.       Caption = '< Prior'
  204.       OnClick = PriorCustClick
  205.     end
  206.     object FirstCust: TSpeedButton
  207.       Left = 30
  208.       Top = 388
  209.       Width = 47
  210.       Height = 25
  211.       Caption = '<< First'
  212.       OnClick = FirstCustClick
  213.     end
  214.     object dbeAddr1: TDBEdit
  215.       Left = 16
  216.       Top = 82
  217.       Width = 377
  218.       Height = 21
  219.       DataField = 'Addr1'
  220.       DataSource = DataSource1
  221.       TabOrder = 0
  222.     end
  223.     object dbeAddr2: TDBEdit
  224.       Left = 16
  225.       Top = 122
  226.       Width = 377
  227.       Height = 21
  228.       DataField = 'Addr2'
  229.       DataSource = DataSource1
  230.       TabOrder = 1
  231.     end
  232.     object dbeContactName: TDBEdit
  233.       Left = 16
  234.       Top = 42
  235.       Width = 121
  236.       Height = 21
  237.       DataField = 'contact'
  238.       DataSource = DataSource1
  239.       TabOrder = 2
  240.     end
  241.     object dbeCity: TDBEdit
  242.       Left = 16
  243.       Top = 162
  244.       Width = 121
  245.       Height = 21
  246.       DataField = 'City'
  247.       DataSource = DataSource1
  248.       TabOrder = 3
  249.     end
  250.     object dbeState: TDBEdit
  251.       Left = 144
  252.       Top = 162
  253.       Width = 53
  254.       Height = 21
  255.       DataField = 'State'
  256.       DataSource = DataSource1
  257.       TabOrder = 4
  258.     end
  259.     object dbeZip: TDBEdit
  260.       Left = 204
  261.       Top = 162
  262.       Width = 89
  263.       Height = 21
  264.       DataField = 'Zip'
  265.       DataSource = DataSource1
  266.       TabOrder = 5
  267.     end
  268.     object dbeCustomerNumber: TDBEdit
  269.       Left = 288
  270.       Top = 42
  271.       Width = 105
  272.       Height = 21
  273.       DataField = 'CustNo'
  274.       DataSource = DataSource1
  275.       ReadOnly = True
  276.       TabOrder = 6
  277.     end
  278.     object dbeCompany: TDBEdit
  279.       Left = 144
  280.       Top = 42
  281.       Width = 137
  282.       Height = 21
  283.       DataField = 'Company'
  284.       DataSource = DataSource1
  285.       TabOrder = 7
  286.     end
  287.     object dbeCountry: TDBEdit
  288.       Left = 300
  289.       Top = 162
  290.       Width = 93
  291.       Height = 21
  292.       DataField = 'Country'
  293.       DataSource = DataSource1
  294.       TabOrder = 8
  295.     end
  296.     object dbePhone: TDBEdit
  297.       Left = 400
  298.       Top = 42
  299.       Width = 121
  300.       Height = 21
  301.       DataField = 'Phone'
  302.       DataSource = DataSource1
  303.       TabOrder = 9
  304.     end
  305.     object dbeFax: TDBEdit
  306.       Left = 400
  307.       Top = 82
  308.       Width = 121
  309.       Height = 21
  310.       DataField = 'FAX'
  311.       DataSource = DataSource1
  312.       TabOrder = 10
  313.     end
  314.     object BitBtn1: TBitBtn
  315.       Left = 440
  316.       Top = 386
  317.       Width = 85
  318.       Height = 25
  319.       Hint = 'Done!'
  320.       Caption = '&Finished >'
  321.       ParentShowHint = False
  322.       ShowHint = True
  323.       TabOrder = 11
  324.       OnClick = BitBtn1Click
  325.     end
  326.     object dbeLastInvDate: TDBEdit
  327.       Left = 400
  328.       Top = 122
  329.       Width = 121
  330.       Height = 21
  331.       DataField = 'LastInvoiceDate'
  332.       DataSource = DataSource1
  333.       TabOrder = 12
  334.     end
  335.     object dbeTaxRate: TDBEdit
  336.       Left = 400
  337.       Top = 162
  338.       Width = 101
  339.       Height = 21
  340.       DataField = 'TaxRate'
  341.       DataSource = DataSource1
  342.       TabOrder = 13
  343.     end
  344.     object GroupBox1: TGroupBox
  345.       Left = 16
  346.       Top = 186
  347.       Width = 509
  348.       Height = 195
  349.       Caption = 'Orders'
  350.       TabOrder = 14
  351.       object Label14: TLabel
  352.         Left = 14
  353.         Top = 20
  354.         Width = 87
  355.         Height = 13
  356.         Caption = 'Customer Number:'
  357.       end
  358.       object Label15: TLabel
  359.         Left = 322
  360.         Top = 28
  361.         Width = 89
  362.         Height = 13
  363.         Caption = 'Employee Number:'
  364.       end
  365.       object Label16: TLabel
  366.         Left = 244
  367.         Top = 20
  368.         Width = 50
  369.         Height = 13
  370.         Caption = 'Sale Date:'
  371.       end
  372.       object Label17: TLabel
  373.         Left = 174
  374.         Top = 20
  375.         Width = 50
  376.         Height = 13
  377.         Caption = 'Ship Date:'
  378.       end
  379.       object Label18: TLabel
  380.         Left = 110
  381.         Top = 20
  382.         Width = 46
  383.         Height = 13
  384.         Caption = 'Order No:'
  385.       end
  386.       object Label19: TLabel
  387.         Left = 364
  388.         Top = 106
  389.         Width = 47
  390.         Height = 13
  391.         Caption = 'Tax Rate:'
  392.       end
  393.       object Label20: TLabel
  394.         Left = 364
  395.         Top = 162
  396.         Width = 50
  397.         Height = 13
  398.         Caption = 'Item Total:'
  399.       end
  400.       object Label21: TLabel
  401.         Left = 348
  402.         Top = 80
  403.         Width = 63
  404.         Height = 13
  405.         Caption = 'Amount Paid:'
  406.       end
  407.       object Label22: TLabel
  408.         Left = 330
  409.         Top = 52
  410.         Width = 83
  411.         Height = 13
  412.         Caption = 'Payment Method:'
  413.       end
  414.       object Label23: TLabel
  415.         Left = 376
  416.         Top = 136
  417.         Width = 35
  418.         Height = 13
  419.         Caption = 'Freight:'
  420.       end
  421.       object Label24: TLabel
  422.         Left = 14
  423.         Top = 100
  424.         Width = 75
  425.         Height = 13
  426.         Caption = 'Dest Address 2:'
  427.       end
  428.       object Label25: TLabel
  429.         Left = 14
  430.         Top = 70
  431.         Width = 75
  432.         Height = 13
  433.         Caption = 'Dest Address 1:'
  434.       end
  435.       object Label26: TLabel
  436.         Left = 14
  437.         Top = 120
  438.         Width = 45
  439.         Height = 13
  440.         Caption = 'Dest City:'
  441.       end
  442.       object Label27: TLabel
  443.         Left = 144
  444.         Top = 120
  445.         Width = 53
  446.         Height = 13
  447.         Caption = 'Dest State:'
  448.       end
  449.       object Label28: TLabel
  450.         Left = 216
  451.         Top = 120
  452.         Width = 43
  453.         Height = 13
  454.         Caption = 'Dest Zip:'
  455.       end
  456.       object FirstOrders: TSpeedButton
  457.         Left = 14
  458.         Top = 162
  459.         Width = 47
  460.         Height = 25
  461.         Caption = '<< First'
  462.         OnClick = FirstOrdersClick
  463.       end
  464.       object PriorOrders: TSpeedButton
  465.         Left = 61
  466.         Top = 162
  467.         Width = 47
  468.         Height = 25
  469.         Caption = '< Prior'
  470.         OnClick = PriorOrdersClick
  471.       end
  472.       object NextOrders: TSpeedButton
  473.         Left = 109
  474.         Top = 162
  475.         Width = 47
  476.         Height = 25
  477.         Caption = 'Next >'
  478.         OnClick = NextOrdersClick
  479.       end
  480.       object LastOrders: TSpeedButton
  481.         Left = 156
  482.         Top = 162
  483.         Width = 47
  484.         Height = 25
  485.         Caption = 'Last >>'
  486.         OnClick = LastOrdersClick
  487.       end
  488.       object EditOrders: TSpeedButton
  489.         Left = 214
  490.         Top = 162
  491.         Width = 47
  492.         Height = 25
  493.         Caption = 'Edit'
  494.         OnClick = EditOrdersClick
  495.       end
  496.       object PostOrders: TSpeedButton
  497.         Left = 261
  498.         Top = 162
  499.         Width = 47
  500.         Height = 25
  501.         Caption = 'Post'
  502.         Enabled = False
  503.         OnClick = PostOrdersClick
  504.       end
  505.       object CancelOrders: TSpeedButton
  506.         Left = 308
  507.         Top = 162
  508.         Width = 47
  509.         Height = 25
  510.         Caption = 'Cancel'
  511.         Enabled = False
  512.         OnClick = CancelOrdersClick
  513.       end
  514.       object DBEdit1: TDBEdit
  515.         Left = 14
  516.         Top = 36
  517.         Width = 87
  518.         Height = 21
  519.         DataField = 'CustNo'
  520.         DataSource = DataSource2
  521.         ReadOnly = True
  522.         TabOrder = 0
  523.       end
  524.       object DBEdit2: TDBEdit
  525.         Left = 418
  526.         Top = 22
  527.         Width = 81
  528.         Height = 21
  529.         DataField = 'EmpNo'
  530.         DataSource = DataSource2
  531.         TabOrder = 1
  532.       end
  533.       object DBEdit3: TDBEdit
  534.         Left = 418
  535.         Top = 128
  536.         Width = 81
  537.         Height = 21
  538.         DataField = 'Freight'
  539.         DataSource = DataSource2
  540.         TabOrder = 2
  541.       end
  542.       object DBEdit4: TDBEdit
  543.         Left = 418
  544.         Top = 156
  545.         Width = 81
  546.         Height = 21
  547.         DataField = 'ItemsTotal'
  548.         DataSource = DataSource2
  549.         TabOrder = 3
  550.       end
  551.       object DBEdit5: TDBEdit
  552.         Left = 244
  553.         Top = 36
  554.         Width = 61
  555.         Height = 21
  556.         DataField = 'SaleDate'
  557.         DataSource = DataSource2
  558.         TabOrder = 4
  559.       end
  560.       object DBEdit6: TDBEdit
  561.         Left = 174
  562.         Top = 36
  563.         Width = 61
  564.         Height = 21
  565.         DataField = 'ShipDate'
  566.         DataSource = DataSource2
  567.         TabOrder = 5
  568.       end
  569.       object DBEdit7: TDBEdit
  570.         Left = 418
  571.         Top = 100
  572.         Width = 81
  573.         Height = 21
  574.         DataField = 'TaxRate'
  575.         DataSource = DataSource2
  576.         TabOrder = 6
  577.       end
  578.       object DBEdit8: TDBEdit
  579.         Left = 418
  580.         Top = 74
  581.         Width = 81
  582.         Height = 21
  583.         DataField = 'AmountPaid'
  584.         DataSource = DataSource2
  585.         TabOrder = 7
  586.       end
  587.       object DBEdit9: TDBEdit
  588.         Left = 418
  589.         Top = 48
  590.         Width = 81
  591.         Height = 21
  592.         DataField = 'PaymentMethod'
  593.         DataSource = DataSource2
  594.         TabOrder = 8
  595.       end
  596.       object DBEdit10: TDBEdit
  597.         Left = 110
  598.         Top = 36
  599.         Width = 55
  600.         Height = 21
  601.         DataField = 'OrderNo'
  602.         DataSource = DataSource2
  603.         TabOrder = 9
  604.       end
  605.       object DBEdit11: TDBEdit
  606.         Left = 96
  607.         Top = 66
  608.         Width = 209
  609.         Height = 21
  610.         DataField = 'ShipToAddr1'
  611.         DataSource = DataSource2
  612.         TabOrder = 10
  613.       end
  614.       object DBEdit12: TDBEdit
  615.         Left = 96
  616.         Top = 96
  617.         Width = 209
  618.         Height = 21
  619.         DataField = 'ShipToAddr2'
  620.         DataSource = DataSource2
  621.         TabOrder = 11
  622.       end
  623.       object DBEdit13: TDBEdit
  624.         Left = 14
  625.         Top = 136
  626.         Width = 121
  627.         Height = 21
  628.         DataField = 'ShipToCity'
  629.         DataSource = DataSource2
  630.         TabOrder = 12
  631.       end
  632.       object DBEdit14: TDBEdit
  633.         Left = 144
  634.         Top = 136
  635.         Width = 63
  636.         Height = 21
  637.         DataField = 'ShipToState'
  638.         DataSource = DataSource2
  639.         TabOrder = 13
  640.       end
  641.       object DBEdit15: TDBEdit
  642.         Left = 216
  643.         Top = 136
  644.         Width = 89
  645.         Height = 21
  646.         DataField = 'ShipToZip'
  647.         DataSource = DataSource2
  648.         TabOrder = 14
  649.       end
  650.     end
  651.   end
  652.   object DataSource1: TDataSource
  653.     AutoEdit = False
  654.     DataSet = Query1
  655.     OnStateChange = DataSource1StateChange
  656.     Left = 462
  657.     Top = 42
  658.   end
  659.   object Query1: TQuery
  660.     DatabaseName = 'BCDEMOS'
  661.     RequestLive = True
  662.     SQL.Strings = (
  663.       
  664.         'select * from "customer.db" where UPPER(contact) like :paramVar1' +
  665.         ' ')
  666.     Params.Data = {0100010009706172616D56617231000103004125000001}
  667.     Left = 492
  668.     Top = 42
  669.   end
  670.   object DataSource2: TDataSource
  671.     AutoEdit = False
  672.     DataSet = Table1
  673.     OnStateChange = DataSource2StateChange
  674.     Left = 468
  675.     Top = 194
  676.   end
  677.   object Table1: TTable
  678.     DatabaseName = 'BCDEMOS'
  679.     IndexName = 'CustNo'
  680.     MasterFields = 'CustNo'
  681.     MasterSource = DataSource1
  682.     TableName = 'ORDERS.DB'
  683.     Left = 496
  684.     Top = 194
  685.     object Table1OrderNo: TFloatField
  686.       FieldName = 'OrderNo'
  687.       DisplayFormat = #39'#'#39'0000'
  688.     end
  689.     object Table1CustNo: TFloatField
  690.       Alignment = taLeftJustify
  691.       FieldName = 'CustNo'
  692.       DisplayFormat = 'CN 0000'
  693.       MaxValue = 9999
  694.       MinValue = 1000
  695.     end
  696.     object Table1SaleDate: TDateTimeField
  697.       FieldName = 'SaleDate'
  698.     end
  699.     object Table1ShipDate: TDateTimeField
  700.       FieldName = 'ShipDate'
  701.     end
  702.     object Table1EmpNo: TIntegerField
  703.       FieldName = 'EmpNo'
  704.       DisplayFormat = 'Emp'#39'#'#39' 0000'
  705.       MaxValue = 9999
  706.       MinValue = 1
  707.     end
  708.     object Table1ShipToContact: TStringField
  709.       FieldName = 'ShipToContact'
  710.     end
  711.     object Table1ShipToAddr1: TStringField
  712.       FieldName = 'ShipToAddr1'
  713.       Size = 30
  714.     end
  715.     object Table1ShipToAddr2: TStringField
  716.       FieldName = 'ShipToAddr2'
  717.       Size = 30
  718.     end
  719.     object Table1ShipToCity: TStringField
  720.       FieldName = 'ShipToCity'
  721.       Size = 15
  722.     end
  723.     object Table1ShipToState: TStringField
  724.       FieldName = 'ShipToState'
  725.     end
  726.     object Table1ShipToZip: TStringField
  727.       FieldName = 'ShipToZip'
  728.       Size = 10
  729.     end
  730.     object Table1ShipToCountry: TStringField
  731.       FieldName = 'ShipToCountry'
  732.     end
  733.     object Table1ShipToPhone: TStringField
  734.       FieldName = 'ShipToPhone'
  735.       Size = 15
  736.     end
  737.     object Table1ShipVIA: TStringField
  738.       FieldName = 'ShipVIA'
  739.       Size = 7
  740.     end
  741.     object Table1PO: TStringField
  742.       FieldName = 'PO'
  743.       Size = 15
  744.     end
  745.     object Table1Terms: TStringField
  746.       FieldName = 'Terms'
  747.       Size = 6
  748.     end
  749.     object Table1PaymentMethod: TStringField
  750.       FieldName = 'PaymentMethod'
  751.       Size = 7
  752.     end
  753.     object Table1ItemsTotal: TCurrencyField
  754.       FieldName = 'ItemsTotal'
  755.     end
  756.     object Table1TaxRate: TFloatField
  757.       FieldName = 'TaxRate'
  758.       DisplayFormat = '0.00%'
  759.     end
  760.     object Table1Freight: TCurrencyField
  761.       FieldName = 'Freight'
  762.     end
  763.     object Table1AmountPaid: TCurrencyField
  764.       FieldName = 'AmountPaid'
  765.     end
  766.   end
  767. end
  768.